package com.xumt.hwHMSdemo;

import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import android.os.Bundle;

import com.xumt.hwHMSdemo.Adapter.CommodityAdapter;
import com.xumt.hwHMSdemo.Adapter.ShoppingcarAdapter;
import com.xumt.hwHMSdemo.Adapter.TopicRecycleViewDivider;

import java.util.ArrayList;
import java.util.List;

public class Newshoppingcar2 extends AppCompatActivity {

    private List<String> commdityname =new ArrayList<>();
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_newshoppingcar2);
//        RecyclerView recyclerView= findViewById(R.id.commodityview);
//        commdityname.add("One");
//        commdityname.add("two");
//        CommodityAdapter commodityAdapter=new CommodityAdapter(this,commdityname);
//        LinearLayoutManager layoutManager=new LinearLayoutManager(this);
//        recyclerView.setLayoutManager(layoutManager);
//        recyclerView.setAdapter(commodityAdapter);
    }
}